package com.example.movie.common.model.vm

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.zaaach.citypicker.model.City
import com.zaaach.citypicker.model.LocatedCity

/**
 * 系统公共的viewModel,用于系统各个模块的通信
 *
 */
class CommonViewModel : ViewModel() {

    private val _locatedCity = MutableLiveData<LocatedCity>()
    val locatedCity
        get() = _locatedCity

    private val _selectedCity = MutableLiveData<City>()
    val selectedCity
        get() = _selectedCity


}
